NuclearEngagement\Services\LoggingService A

Total Complexity 59
Dependencies 2
Dependents 44
Total lines 322
Lines of code 195
Logical lines of code 117
Comment lines 72
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
cleanup_old_logs()
A
50 9 27
fallback()
S
54 6 19
log()
S
56 5 19
rotate_log_if_needed()
S
63 5 9
check_write_permissions()
S
62 4 11
write_messages()
S
61 3 13
prepare_log_data()
S
61 3 12
get_log_file_info()
S
53 2 22
debug()
S
72 3 5
log_exception()
S
63 3 9
ensure_log_directory()
S
65 3 9
instance()
S
71 2 6
use_buffer()
S
74 2 4
flush()
S
68 2 8
write_log_data()
S
69 2 6
fallback_all()
S
73 2 5
__construct()
S
77 1 4
add_admin_notice()
S
81 1 3
notify_admin()
S
76 1 4